package com.yzj.demo.common.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum StatusCode {
    SUCCESS(2000, "OK"),
    OPERATION_FAILED(5001, "操作失败");

    //状态码、状态码描述
    private Integer code;
    private String msg;
}